<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Styled Underlines</title>
<style type="text/css">
<!--

/* pretty stuff
================================== */

body {
  font: 140%/1.6 "Gill Sans", Futura, "Lucida Grande", Geneva, sans-serif;
  color: #666;
  background: #fff;
}

/* styled underline
================================== */

a:link, a:visited {
  color:#666;
  text-decoration: none;
  background: url(img/underline1.gif) repeat-x left bottom;
}

a:hover, a:active {
  background-image: url(img/underline1-hover.gif);
}


-->
</style>
</head>

<body>
<p><a href="#">This is a link</a></p>

<p>And here is a reasonably long line of text containing  our <a href="#">nice, custom styled link</a> and then some more text.</p>


</p>
</body>
</html>
